package sctu.edu.java.year2016.team01.chenhong.day20160521.chapter5_1;

/**
 * Created by Administrator on 2016/5/22.
 * 创建一维数组，将其遍历输出
 */
public class LinearArray {
    public static void main(String[] args) {

        int[] arr = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
        System.out.println("arr数组为：");


        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + "  ");
        }


    }
}
